package com.example.ftp.Beans;

import java.io.Serializable;

/**
 * @author yhp
 */

public class Site implements Serializable {
    /**
     * IP地址
     */
    private String ip;

    /**
     * 端口
     */
    private int port;

    /**
     * 名称
     */
    private String name;

    /**
     * 用户名
     */
    private String userName;

    /**
     * 密码
     */
    private String password;

    /**
     * 说明
     */
    private String note;

    public Site(String name, String siteIp, int port, String userName, String password, String note){
        this.name = name;
        this.ip = siteIp;
        this.port = port;
        this.userName = userName;
        this.password = password;
        this.note = note;
    }

    /**
     * 封装
     */
    public String getIp() {
        return ip;
    }

    public int getPort() {
        return port;
    }

    public String getName() {
        return name;
    }

    public String getPassword() {
        return password;
    }

    public String getNote() {
        return note;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public void setIp(String siteIp) {
        this.ip = siteIp;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public void setNote(String note) {
        this.note = note;
    }
}
